package com.dmap.run.vo;

import com.dmap.run.po.RunRecord;
import com.dmap.run.po.mongo.Track;

import java.io.Serializable;
import java.util.List;

/**
 * \* User: silent
 * \* Date: 17/05/18 Time: 14:58
 * \* Description:
 * \
 */
public class RunRecordDetailVo implements Serializable {

    public RunRecordDetailVo() {

    }

    public RunRecordDetailVo(RunRecord runRecord) {
        altitude = runRecord.getAltitude();
        stride = runRecord.getStride();
        calorie = runRecord.getCalorie();
        distanceTotal = runRecord.getDistanceTotal();
        timeTotal = runRecord.getTimeTotal();
        stepNumTotal = runRecord.getStepNumTotal();
        speedAverage = runRecord.getSpeedAverage();
        speedQuickest = runRecord.getSpeedQuickest();
        speedSlowest = runRecord.getSpeedSlowest();
        strideFrequencyAverage = runRecord.getStrideFrequencyAverage();
        strideFrequencyQuickest = runRecord.getStrideFrequencyQuickest();
        strideFrequencySlowest = runRecord.getStrideFrequencySlowest();
        heartRateAverage = runRecord.getHeartRateAverage();
        heartRateQuickest = runRecord.getHeartRateQuickest();
        heartRateSlowest = runRecord.getHeartRateSlowest();
        startTime = runRecord.getStartTime();
        endTime = runRecord.getEndTime();
        place = runRecord.getPlace();
    }

    /**
     * 跑步开始时间
     * 表字段 : run_record.start_time
     */
    private Long startTime;

    /**
     * 跑步结束时间
     * 表字段 : run_record.end_time
     */
    private Long endTime;
    /**
     * 爬升高度，单位厘米 cm
     * 表字段 : run_record.altilude
     */
    private Integer altitude;
    /**
     * 地区:1国内,2国外
     * 表字段 : riding_record.place
     */
    private Integer place;
    /**
     * 步幅 单位(厘米) cm
     * 表字段 : run_record.stride
     */
    private Integer stride;

    /**
     * 卡路里消耗大卡
     * 表字段 : run_record.calorie
     */
    private Integer calorie;

    /**
     * 全程距离 单位米
     * 表字段 : run_record.distance_total
     */
    private Integer distanceTotal;

    /**
     * 总计时间 单位秒
     * 表字段 : run_record.time_total
     */
    private Integer timeTotal;

    /**
     * 总步数
     * 表字段 : run_record.step_num_total
     */
    private Integer stepNumTotal;

    /**
     * 平均配速 秒/公里
     * 表字段 : run_record.speed_average
     */
    private Integer speedAverage;

    /**
     * 最快配速 秒/公里
     * 表字段 : run_record.speed_quickest
     */
    private Integer speedQuickest;

    /**
     * 最慢配速 秒/公里
     * 表字段 : run_record.speed_slowest
     */
    private Integer speedSlowest;

    /**
     * 平均步频 步/分
     * 表字段 : run_record.stride_frequency_average
     */
    private Integer strideFrequencyAverage;

    /**
     * 最快步频 步/分
     * 表字段 : run_record.stride_frequency_quickest
     */
    private Integer strideFrequencyQuickest;

    /**
     * 最慢步频 步/分
     * 表字段 : run_record.stride_frequency_slowest
     */
    private Integer strideFrequencySlowest;

    /**
     * 平均心率 次/分
     * 表字段 : run_record.heart_rate_average
     */
    private Integer heartRateAverage;

    /**
     * 最快心率 次/分
     * 表字段 : run_record.heart_rate_quickest
     */
    private Integer heartRateQuickest;

    /**
     * 最慢心率 次/分
     * 表字段 : run_record.heart_rate_slowest
     */
    private Integer heartRateSlowest;

    /**
     * 地图轨迹数据
     *
     * @return
     */
    private List<Track> trackList;

    public Integer getPlace() {
        return place;
    }

    public void setPlace(Integer place) {
        this.place = place;
    }

    public Integer getAltitude() {
        return altitude;
    }

    public void setAltitude(Integer altitude) {
        this.altitude = altitude;
    }

    public Integer getStride() {
        return stride;
    }

    public void setStride(Integer stride) {
        this.stride = stride;
    }

    public Integer getCalorie() {
        return calorie;
    }

    public void setCalorie(Integer calorie) {
        this.calorie = calorie;
    }

    public Integer getDistanceTotal() {
        return distanceTotal;
    }

    public void setDistanceTotal(Integer distanceTotal) {
        this.distanceTotal = distanceTotal;
    }

    public Integer getTimeTotal() {
        return timeTotal;
    }

    public void setTimeTotal(Integer timeTotal) {
        this.timeTotal = timeTotal;
    }

    public Integer getStepNumTotal() {
        return stepNumTotal;
    }

    public void setStepNumTotal(Integer stepNumTotal) {
        this.stepNumTotal = stepNumTotal;
    }

    public Integer getSpeedAverage() {
        return speedAverage;
    }

    public void setSpeedAverage(Integer speedAverage) {
        this.speedAverage = speedAverage;
    }

    public Integer getSpeedQuickest() {
        return speedQuickest;
    }

    public void setSpeedQuickest(Integer speedQuickest) {
        this.speedQuickest = speedQuickest;
    }

    public Integer getSpeedSlowest() {
        return speedSlowest;
    }

    public void setSpeedSlowest(Integer speedSlowest) {
        this.speedSlowest = speedSlowest;
    }

    public Integer getStrideFrequencyAverage() {
        return strideFrequencyAverage;
    }

    public void setStrideFrequencyAverage(Integer strideFrequencyAverage) {
        this.strideFrequencyAverage = strideFrequencyAverage;
    }

    public Integer getStrideFrequencyQuickest() {
        return strideFrequencyQuickest;
    }

    public void setStrideFrequencyQuickest(Integer strideFrequencyQuickest) {
        this.strideFrequencyQuickest = strideFrequencyQuickest;
    }

    public Integer getStrideFrequencySlowest() {
        return strideFrequencySlowest;
    }

    public void setStrideFrequencySlowest(Integer strideFrequencySlowest) {
        this.strideFrequencySlowest = strideFrequencySlowest;
    }

    public Integer getHeartRateAverage() {
        return heartRateAverage;
    }

    public void setHeartRateAverage(Integer heartRateAverage) {
        this.heartRateAverage = heartRateAverage;
    }

    public Integer getHeartRateQuickest() {
        return heartRateQuickest;
    }

    public void setHeartRateQuickest(Integer heartRateQuickest) {
        this.heartRateQuickest = heartRateQuickest;
    }

    public Integer getHeartRateSlowest() {
        return heartRateSlowest;
    }

    public void setHeartRateSlowest(Integer heartRateSlowest) {
        this.heartRateSlowest = heartRateSlowest;
    }

    public List<Track> getTrackList() {
        return trackList;
    }

    public void setTrackList(List<Track> trackList) {
        this.trackList = trackList;
    }

    public Long getStartTime() {
        return startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }
}
